package com.hydra.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hydra.base.comment.Comment;
import com.hydra.base.entity.CodeEntity;
import com.hydra.base.entity.CodeUserTimeEntity;
import com.hydra.base.operate.log.annotation.OperateLogProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * 系统菜单表
 */
@TableName("tb_sys_menu")
public class SysMenu extends CodeUserTimeEntity {

    /**
     * 菜单名称
     */
    @Getter @Setter
    @OperateLogProperty("菜单名称")
    private String name;

    /**
     * 父菜单code
     */
    @Getter @Setter
    @OperateLogProperty("父菜单编码")
    private String parentCode;

    /**
     * 菜单路径
     */
    @Getter @Setter
    @OperateLogProperty("菜单路径")
    private String path;

    /**
     * 菜单图标
     */
    @Getter @Setter
    @OperateLogProperty("菜单图标")
    private String icon;

    /**
     * 排序号
     */
    @Getter @Setter
    @OperateLogProperty("排序号")
    private Integer sort;

    /**
     * 菜单状态
     * 1：启用，0：禁用
     */
    @Getter @Setter
    @OperateLogProperty("菜单状态")
    private String status;

    /**
     * 系统编码
     */
    @Getter @Setter
    @OperateLogProperty("系统编码")
    private String systemCode;

    /**
     * 备注
     */
    @Getter @Setter
    @OperateLogProperty("备注")
    private String remark;

}
